import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/home/index.vue';
import Login from '../views/login/index.vue';

// 创建路由实例
const router = createRouter({
  history: createWebHistory(),
  routes: [
   
    { path: '/', component: Login },
    { path: '/home', component: Home }
  ],
});

export default router;